home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 2
/
Apprentice-Release2.iso
/
Source Code
/
C
/
Utilities
/
RandomDot 1.0.2
/
Random Dot Src ƒ
/
_h
/
ZoomCode.h
< prev
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1994-10-18
|
343 b
|
9 lines
|
[
TEXT/KAHL
]
/* ZoomCode.h -
Note: this code is from develop magazine, issue 17. It is referreed by Apple and
may be freely used in Macintosh programs.
*/
typedef void (*CalcIdealDocumentSizeProcPtr)(WindowPtr theWindow, Rect *idealContentSize);
void ZoomTheWindow(WindowPeek theWindow, short zoomState,
CalcIdealDocumentSizeProcPtr calcRoutine);